/// ada : 12345
/// categoryAggregateType : "ROOT"
/// categoryCode : "categoryCode"
/// categoryCodes : "categoryCodes"
/// channelCode : "channelCode"
/// classCode : "classCode"
/// defaultSku : true
/// endTime : "string"
/// esPageNo : 0
/// forceNoCache : true
/// groupBuyCode : true
/// isMicroBuy : true
/// itemSkus : ["xxx","xxx"]
/// keyword : "商品名/描述/标签名/关键字"
/// labels : true
/// lastSkuCode : "传入返回内容最后一条数据的skuCode"
/// loginAda : 12345
/// matchAllLabel : true
/// maxPrice : 100
/// minPrice : 0
/// needAggregate : true
/// onlySearchable : true
/// pageNo : 1
/// pageSize : 20
/// priceSectionType : "MONEY"
/// priceType : "GIFT_POINT"
/// productCode : "商品编码"
/// productCodes : "商品编码列表"
/// role : "ABO"
/// skuCode : "skuCode"
/// skuCodes : ["xxx","xxx"]
/// sortProperty : "price/name"
/// sortType : "asc/desc"
/// startTime : "string"
/// tagCode : "tagCode"

class SearchInfoBean {
  int _ada;
  String _categoryAggregateType;
  String _categoryCode;
  String _categoryCodes;
  String _channelCode;
  String _classCode;
  bool _defaultSku;
  String _endTime;
  int _esPageNo;
  bool _forceNoCache;
  bool _groupBuyCode;
  bool _isMicroBuy;
  List<String> _itemSkus;
  String _keyword;
  bool _labels;
  String _lastSkuCode;
  int _loginAda;
  bool _matchAllLabel;
  int _maxPrice;
  int _minPrice;
  bool _needAggregate;
  bool _onlySearchable;
  int _pageNo;
  int _pageSize;
  String _priceSectionType;
  String _priceType;
  String _productCode;
  String _productCodes;
  String _role;
  String _skuCode;
  List<String> _skuCodes;
  String _sortProperty;
  String _sortType;
  String _startTime;
  String _tagCode;

  int get ada => _ada;
  String get categoryAggregateType => _categoryAggregateType;
  String get categoryCode => _categoryCode;
  String get categoryCodes => _categoryCodes;
  String get channelCode => _channelCode;
  String get classCode => _classCode;
  bool get defaultSku => _defaultSku;
  String get endTime => _endTime;
  int get esPageNo => _esPageNo;
  bool get forceNoCache => _forceNoCache;
  bool get groupBuyCode => _groupBuyCode;
  bool get isMicroBuy => _isMicroBuy;
  List<String> get itemSkus => _itemSkus;
  String get keyword => _keyword;
  bool get labels => _labels;
  String get lastSkuCode => _lastSkuCode;
  int get loginAda => _loginAda;
  bool get matchAllLabel => _matchAllLabel;
  int get maxPrice => _maxPrice;
  int get minPrice => _minPrice;
  bool get needAggregate => _needAggregate;
  bool get onlySearchable => _onlySearchable;
  int get pageNo => _pageNo;
  int get pageSize => _pageSize;
  String get priceSectionType => _priceSectionType;
  String get priceType => _priceType;
  String get productCode => _productCode;
  String get productCodes => _productCodes;
  String get role => _role;
  String get skuCode => _skuCode;
  List<String> get skuCodes => _skuCodes;
  String get sortProperty => _sortProperty;
  String get sortType => _sortType;
  String get startTime => _startTime;
  String get tagCode => _tagCode;

  SearchInfoBean({
      int ada, 
      String categoryAggregateType, 
      String categoryCode, 
      String categoryCodes, 
      String channelCode, 
      String classCode, 
      bool defaultSku, 
      String endTime, 
      int esPageNo, 
      bool forceNoCache, 
      bool groupBuyCode, 
      bool isMicroBuy, 
      List<String> itemSkus, 
      String keyword, 
      bool labels, 
      String lastSkuCode, 
      int loginAda, 
      bool matchAllLabel, 
      int maxPrice, 
      int minPrice, 
      bool needAggregate, 
      bool onlySearchable, 
      int pageNo, 
      int pageSize, 
      String priceSectionType, 
      String priceType, 
      String productCode, 
      String productCodes, 
      String role, 
      String skuCode, 
      List<String> skuCodes, 
      String sortProperty, 
      String sortType, 
      String startTime, 
      String tagCode}){
    _ada = ada;
    _categoryAggregateType = categoryAggregateType;
    _categoryCode = categoryCode;
    _categoryCodes = categoryCodes;
    _channelCode = channelCode;
    _classCode = classCode;
    _defaultSku = defaultSku;
    _endTime = endTime;
    _esPageNo = esPageNo;
    _forceNoCache = forceNoCache;
    _groupBuyCode = groupBuyCode;
    _isMicroBuy = isMicroBuy;
    _itemSkus = itemSkus;
    _keyword = keyword;
    _labels = labels;
    _lastSkuCode = lastSkuCode;
    _loginAda = loginAda;
    _matchAllLabel = matchAllLabel;
    _maxPrice = maxPrice;
    _minPrice = minPrice;
    _needAggregate = needAggregate;
    _onlySearchable = onlySearchable;
    _pageNo = pageNo;
    _pageSize = pageSize;
    _priceSectionType = priceSectionType;
    _priceType = priceType;
    _productCode = productCode;
    _productCodes = productCodes;
    _role = role;
    _skuCode = skuCode;
    _skuCodes = skuCodes;
    _sortProperty = sortProperty;
    _sortType = sortType;
    _startTime = startTime;
    _tagCode = tagCode;
}

  set ada(int value) {
    _ada = value;
  }

  SearchInfoBean.fromJson(dynamic json) {
    _ada = json["ada"];
    _categoryAggregateType = json["categoryAggregateType"];
    _categoryCode = json["categoryCode"];
    _categoryCodes = json["categoryCodes"];
    _channelCode = json["channelCode"];
    _classCode = json["classCode"];
    _defaultSku = json["defaultSku"];
    _endTime = json["endTime"];
    _esPageNo = json["esPageNo"];
    _forceNoCache = json["forceNoCache"];
    _groupBuyCode = json["groupBuyCode"];
    _isMicroBuy = json["isMicroBuy"];
    _itemSkus = json["itemSkus"] != null ? json["itemSkus"].cast<String>() : [];
    _keyword = json["keyword"];
    _labels = json["labels"];
    _lastSkuCode = json["lastSkuCode"];
    _loginAda = json["loginAda"];
    _matchAllLabel = json["matchAllLabel"];
    _maxPrice = json["maxPrice"];
    _minPrice = json["minPrice"];
    _needAggregate = json["needAggregate"];
    _onlySearchable = json["onlySearchable"];
    _pageNo = json["pageNo"];
    _pageSize = json["pageSize"];
    _priceSectionType = json["priceSectionType"];
    _priceType = json["priceType"];
    _productCode = json["productCode"];
    _productCodes = json["productCodes"];
    _role = json["role"];
    _skuCode = json["skuCode"];
    _skuCodes = json["skuCodes"] != null ? json["skuCodes"].cast<String>() : [];
    _sortProperty = json["sortProperty"];
    _sortType = json["sortType"];
    _startTime = json["startTime"];
    _tagCode = json["tagCode"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["ada"] = _ada;
    map["categoryAggregateType"] = _categoryAggregateType;
    map["categoryCode"] = _categoryCode;
    map["categoryCodes"] = _categoryCodes;
    map["channelCode"] = _channelCode;
    map["classCode"] = _classCode;
    map["defaultSku"] = _defaultSku;
    map["endTime"] = _endTime;
    map["esPageNo"] = _esPageNo;
    map["forceNoCache"] = _forceNoCache;
    map["groupBuyCode"] = _groupBuyCode;
    map["isMicroBuy"] = _isMicroBuy;
    map["itemSkus"] = _itemSkus;
    map["keyword"] = _keyword;
    map["labels"] = _labels;
    map["lastSkuCode"] = _lastSkuCode;
    map["loginAda"] = _loginAda;
    map["matchAllLabel"] = _matchAllLabel;
    map["maxPrice"] = _maxPrice;
    map["minPrice"] = _minPrice;
    map["needAggregate"] = _needAggregate;
    map["onlySearchable"] = _onlySearchable;
    map["pageNo"] = _pageNo;
    map["pageSize"] = _pageSize;
    map["priceSectionType"] = _priceSectionType;
    map["priceType"] = _priceType;
    map["productCode"] = _productCode;
    map["productCodes"] = _productCodes;
    map["role"] = _role;
    map["skuCode"] = _skuCode;
    map["skuCodes"] = _skuCodes;
    map["sortProperty"] = _sortProperty;
    map["sortType"] = _sortType;
    map["startTime"] = _startTime;
    map["tagCode"] = _tagCode;
    return map;
  }

  set categoryAggregateType(String value) {
    _categoryAggregateType = value;
  }

  set categoryCode(String value) {
    _categoryCode = value;
  }

  set categoryCodes(String value) {
    _categoryCodes = value;
  }

  set channelCode(String value) {
    _channelCode = value;
  }

  set classCode(String value) {
    _classCode = value;
  }

  set defaultSku(bool value) {
    _defaultSku = value;
  }

  set endTime(String value) {
    _endTime = value;
  }

  set esPageNo(int value) {
    _esPageNo = value;
  }

  set forceNoCache(bool value) {
    _forceNoCache = value;
  }

  set groupBuyCode(bool value) {
    _groupBuyCode = value;
  }

  set isMicroBuy(bool value) {
    _isMicroBuy = value;
  }

  set itemSkus(List<String> value) {
    _itemSkus = value;
  }

  set keyword(String value) {
    _keyword = value;
  }

  set labels(bool value) {
    _labels = value;
  }

  set lastSkuCode(String value) {
    _lastSkuCode = value;
  }

  set loginAda(int value) {
    _loginAda = value;
  }

  set matchAllLabel(bool value) {
    _matchAllLabel = value;
  }

  set maxPrice(int value) {
    _maxPrice = value;
  }

  set minPrice(int value) {
    _minPrice = value;
  }

  set needAggregate(bool value) {
    _needAggregate = value;
  }

  set onlySearchable(bool value) {
    _onlySearchable = value;
  }

  set pageNo(int value) {
    _pageNo = value;
  }

  set pageSize(int value) {
    _pageSize = value;
  }

  set priceSectionType(String value) {
    _priceSectionType = value;
  }

  set priceType(String value) {
    _priceType = value;
  }

  set productCode(String value) {
    _productCode = value;
  }

  set productCodes(String value) {
    _productCodes = value;
  }

  set role(String value) {
    _role = value;
  }

  set skuCode(String value) {
    _skuCode = value;
  }

  set skuCodes(List<String> value) {
    _skuCodes = value;
  }

  set sortProperty(String value) {
    _sortProperty = value;
  }

  set sortType(String value) {
    _sortType = value;
  }

  set startTime(String value) {
    _startTime = value;
  }

  set tagCode(String value) {
    _tagCode = value;
  }
}